libxl: format fd flags with 0x since they are hex.
authorIan Campbell <ian.campbell@citrix.com>
Fri, 11 Sep 2015 14:19:54 +0000 (15:19 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 11 Sep 2015 14:57:45 +0000 (15:57 +0100)
commitc4b717808f4bead160008ba653ed4e6b05831a71
tree645bdae7369126d925bd098de20198c786e740b2
parent244582a01dcb49fa30083725964a066937cc94f2
libxl: format fd flags with 0x since they are hex.

Commit 93f5194e7270 "libxl: clear O_NONBLOCK|O_NDELAY on migration fd
and reinstate afterwards" added some logging of fcntl.F_GETFL at all
as %x without a 0x prefix to make it clear they numbers are hex. Fix
this alongwith an inadvertent logging of the fd itself as hex.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl.c